/*
  环境配置封装
*/
const env = import.meta.env.MODE || 'prod' || 'BASE_URL'
const EnvConfig = {
  development: {
    baseApi: '/api',
    mockApi: ''
  },
  test: {
    baseApi: '',
    mockApi: ''
  },
  prod: {
    baseApi: '',
    mockApi: ''
  }
}

export default {
  env,
  mock: false,
  namespace: 'manager',
  ...EnvConfig[env]
}
